Add possibility of setting entrypoint