Added copying for dependencies