Getting stuff to start correctly