added cropping option in the config file