Replace local and production settings