Added script that generates new patterns