Added script to generate smaller version of the memories