Added system property to enable scriptlet optimization