moved user defined options to variables