Added setgoal command