Minor improvement to loaded-check
Merge pull request #10 from blueyed/improve-loaded-check

Minor improvement to loaded-check