cleaned up the manage run command