added output dir and output bundle