Cleaned up debug code and added folder opening after reports made