Added dry run option