Made sure require stays with the require comments and the code to append at the bottom of the file.