Support entrypoint and environment