Cleanup entrypoint script