Tried to add logging of difficulty

For some reason the post scripts do not work in any other script except
the one they were initially written in so....