Add working generation script