Initial work for the 'run' command