remove copyFromLocal hard coding