add first prototype functional script