make script runnable locally
Merge pull request #392 from Bigpet/master

make package script runnable locally