moved up the installation of compass