backwards compatible 'set_variable'-replacement