Using good scripting practices

It's a good idea to follow these scripting practices: