Updated hatch script to latest version