Online script editing