Way too many changes to mention. The 'rm' mode works now.