reorder some operations to accommodate some dependencies. for some reason sites keep failing to copy during the save operation. not sure why.