NOJIRA: new version of uploadmedia, compatible with bampfa version