Cleaned scriptlet code.