modify startup script