adjusted startup script