fix startup script, add some info printing