change init script to create run directory