Add script with functions