M,O bits script added.