simplifying things into an executable script