adding bwamem script