ESR scripts