Executing mkdir on slave + small fixes