added 'stop' and 'ps' commands