Fixed init scripts to work as internal web-application