<--new script from MI4P-->