Moved libs to top