Fixed script generation and fully translates Hercules.