Added preferglobal option