Added startup script + Fixed NPE in app server task scheduler