First pass at upload script