Rewrite to not touch source directory.