scan select handles scanning correctly now and attrtoolong for insert