You don't seem to have IS_BETA configurable here. Which works for production, but won't work for beta, obviously.