updated date, added chmod in upload script