I couldn’t figure out, why using legacy and hb in one script, but I felt, that it was a bit risky. So I found a solution to my problem here: