Moved crash to txt file