updated cropping after and added script to generate default patterns