Scriptlets for the XP Framework