added outputfiles and fucked around with the dist_out vizclass