Bug fixed runcommand.sh