Simplying script