match require variable for rimraf