[CB-2403]Added scripts for distribution build.