Setup REV environment variable