added allowdisk option