support load seed dynamically. Fixes #391