Fix handling of set() function, support false as a value, parse args