adds extra exception handling for undesired output, changes output folder, finished fleshing out http.