Updated doc about entrypoint and make it optional and fixed some env vars