I have not used this script but it is 10 years old and he has not played OSI in many years. You will probably need to make some tweaks to it.
#1 If it is like his others, the save file goes into the same folder that the script is in.
#2 It sounds like it is a fail check, if it cannot pick it up in a few attempts, it will move on to get other stuff instead of being stuck in one place where someone else may be holding it in place or it may have fallen and got stuck. If you are going to test it, try doing it in a house and place non-locked down items and chests for it to go through.