added debug option
error trying to move existing symlink to olddir where file of same name exists