add release script and tidy up all scripts