Thank you Jim, I will try those. Ideally I would like to go from Desktop to MM via crontab and back, without having to brute force it via pkill or similar. Do you have any suggestions? I need to be able run the relay scripts, or if connected to a monitor the vcgencmd command before and after MM. Thanks, Andrew.