update generate script for saturday and sunday