Added dryrun option for better unit testing