added support for pull command