Package apmon into the runtime.
Use the uuid module if uuidgen fails.