made type arg optional and settable via local file