Updated generate script for Arch