Added some run options (error checking), made log better, made timestamp
checking work