removed photo links from the sidebar; added debug lines to upload-exec