add extentions and namespace options