changing imgs to a local copy