Modified basic setup to allow for loading state
Greatly improved the `scout.js` file