first attempt at batch upload script