updates to bj analytics scripts