Added the ubuntu special stuff to a separate script