shell script to clean up dan's mess