Startup script & main handler added