Move require's to top of the file to avoid issues