Fix #342 without expanding API
Added back dynSrc option
Merge pull request #350 from akiran/fix-342

Fix #342 without expanding API