I've changed the code to switch the inputs dynamically based on CFEngine version.  Take a look.