new install/startup script. few errors fixed