First approach – scripting