Fix pull and add missing dependencies