added --dryrun option to obtain the approximate EP position