added better startup script