Hi Paolo, I have seen that you tried to provide a fix for the bash script. Unfortunately it is erroneous as well. You should try to verify the syntax using bash -n imagej.sh I tried to fix the syntax problem - please have a look at it and confirm that it works as intended. Kind regards Andreas. -- http://fam-tille.de