exit handling for startup errors added