Bug Fix

fixed bug in restartAfterUpdate where newly generated startup file
would error