Set default option for overlay type
added file size checking