Changed syntax again

Made custom variables static - thanks Jono