revert plainUrl to default form because its used to tell when script is done