Prints out usage when no command is given
Move retrieving goalname to the top of script