Integrate free-therem in cgi script