fixed init script loading