show progressbar only in production, no in testing mode