build upload folder switch for test/live deployment