Fixed a startup script to setup things correctly