Update : added function for setting min/max scale

Fix to remove unused params.