added setsecure config option