building a script