Build script and startup script changes.

Preps images for each device for first boot (if destined for internal
memory) and startup script now inits appropriate changes on boot.