EMR scripts