correcting bundle script