allow raw scalars in %parameters
implement get/set_variable