Add "run" command, and "directory" property