Revert stage val to use environment variable