updated some usages and changed it so an addionaloutname can be given