replace just the script command instead of the full block