Changed log_folder to logdir, looks nicer.