Cleaned up command arguments for loop.