Modified minimosd 2.1