Fixes #32 - now write the 'die()' function to the start script when no main class is specified