setup startup script