importing a quasi-functional script