Added support for passing encrypted option to FOG