added matplotlib agg backend