yeah, but the problem with mortscript as i mentioned before in things like this is that it has to run continuously, which makes it a battery eater and also unreliable as the script might be terminated accidentaly anytime or even OS might terminate it itself if it goes low on resources.