Fix logic to allow changing of Kakadu parameters.