execute command one by one instead of sending the whole script file