Added --extent command-line option