Move startup stuff to startup.sh