updated to use inbuild puppet variables at compilation.