Added safe upload feature so that changes can be rolled back if needed - Done #2