Modify script for new 0.13 behavior.