Added defaultValue, allow skipping parameters, fix reading configuration