Added cleaning working copy, output sql queries of migrations doctrine.