added -sec option to disable security