improved upload, added button