phase out set_variable script