fixed broken download function, added plot examples to output