Invocation and Log File

Added the invocations
Method for the log file,
Passed the args to the thread.