Adding a script with some functions