removing some lines on export script