Make env and revision customizable