updated arguments & image processing