update legacy codes
modify setup tasks to also do band structures for metals