add return when finished excuteing command