Fix shell script command ends