I guess I can call this working so far. The error was caused by Rm.