First version of Linux script, untested