Updated init script and fixed error in default.rb