Fixed the command for applications which run on terminal.