added rm and forcerm support to build