added license
optimized set new apple routine from max 600 ms to under 2 ms