replace 'none' with None
better auto-discovery of independent variables and parameter names, but still customizable