Pruned some useless files; changed script to overwrite directories.