Uses current outlook instance in code.
Cleaned up code