Added a check for pull option

I added the ability to include a 'pull' option. This basically allows the options.host to be added to the src if options.pull = true.