refactored normBS to run all the normalization code