Added startup script functionality.