Fix flask yaml script