cleaning up directories and updated bash file