add scripts for testing
cleanup and added output filename