nearly completed pipi script