some cleanup, added a couple useful scripts