Fix bug.
Add auto reloading.