changes in order to locate the correct current path for the script, because when double click  from the shell it always starts at home directory, and no the directory where is located the binary.