Added dry run flag