prepares environment for Firebase transition