MOved compass stuff to end of script