Adding scriptlet functionality into the module