Updated for V1.4 - added forcedelete option