adding post worker script to capture logs