moved drive stuff to its own js file