Wrong
If playing in Eb, then you don't move the little riff down to the 4th / 3rd etc
The sequence then, for Eb little riff is below :
5th fret on D string, 5th fret on A string, open E string.............. 4th fret D string, 4th fret A string, open E string
The last bit may be easier to play A string 5th fret, E string 7th fret, A string 5th fret, A string 7th fret