added --base-url option