fixed up a small bug and made the release for github ensure to delete files before copying over