Adding stacktrace option