#!/bin/bash # move to the directory that this script file lives in cd "`dirname "$0"`" # do whatever you need to do to run your musebot, e.g.: “open your_musebot.app” java -cp app/beads-musebot.jar org.musicalmetacreation.musebot.example_agents.KeysAgent