new script checking if item is in basket trigger
edited states and scan detection so that the counter for items in basket counts correctly