modified pickup script