fix cryptoclans.pl and move to include rather than inline