add overwrite flag for overwrite old file, update to 4.1.6