Automatic feeding for end of line