build stack from command line