allow specifying a different directory