adding a build script for distribution package