Moving require to the right place