build and release script

fixes #7 on github