Remove commented out script code.
Refactor to make data retrieval a bit clearer.
Properly format the outputs.