fixed program execution path.
asynchronous call not handled properly in command.coffee.