Run script adapt.