Configurable and smarter scripts