Use -i for rm to be compatible with OS X