install: move requires to top of file