Throw the stock file back on and see what happens. If it quites then I would compare the stock file to the new one you created and see if you can find the problem.