Renamed sccreenshots to screenshots
Added some extra logging to the JavaScript