First functional script