toolbar building from file given by command line