updated so it can now zip up the folders