Added mostly working startup script system, added error alerts