adding source support
Merge pull request #366 from EDITD/source-support

adding source support