changed formatting for main cpp file, added drop able to scripts and added debug flag to make