Modify metrics.scala script to read db from arg