move isStaging to constants