--run implemented for command-line + test issue 500