fixed dir script