New working scripts with OO code