Move require to top of function
2.0.12