Updated init script to support UCI