enable calling reloadDev from code.
Merge pull request #312 from owenc4a4/new_work

enable calling reloadDev from code.