added intitialization, folder cleanup