Correctly open the config file

Now it's possible to run the script from a different folder than inside
the script's folder