Modify mode of entrypoint.sh