Fix logic in upload gjf