Added stacktrace option