Code generating all kernles exceps the ones outside hydro