adding a pieces command line command