Improved function support

generateRandomString() is now a site wide function. get image now
supported.