Simplifying Script