mkdir to before script 3