script to test masking module and effect on fit