Added pull interval and grains functionality