added script output to log cmd