Added ability to include arbitary dependencies
fixed scoping inconsistency
Merge pull request #19 from adamwbarr/develop

Added ability to include arbitary dependencies