move configuration before anything else