changed mv in run() function to mv -f