mkdir to before script