run rebuild script with bash