Added aggressiveness and writing to file.