Update and clean startup script