try replacing rm with trash