Fixed, check if output exists