Add shutdown and startup script