added *nix script to regenerate