adds postupdate and get-specs scripts to package.json
fixes crash caused by remaking an existing directory