Simplify script naming and implement AutoScript class