move init content to entrypoint.sh