Include max duration and idle timeout in environment variables