added auto-init script +doc