added storage fog code to avataruploader