Startup script changed to accomodate initial assignment of device ids