Fix run script generated by Dockerfile