basic script for determining next pick