mkdir to before script 2