Fixed python bar script