error after upload
cleaned up some code for date/time adn added buttons