added download buttons, finished first version