Adding working dir checks and screen failing logging