added results folder and minor edits to script