diff --git a/gga_load_data.py b/gga_load_data.py
index 9d96dc2dcbfb25f20fddb25d6f370cf2a9877ce7..f0501c5a8cd484fa121b76fc633795ebc359d76d 100644
--- a/gga_load_data.py
+++ b/gga_load_data.py
@@ -375,15 +375,9 @@ if __name__ == "__main__":
         # Parse the config yaml file
         load_data_for_current_species.config = utilities.parse_config(args.config)
         # Set the instance url attribute
-        for env_variable, value in load_data_for_current_species.config.items():
-            if env_variable == "hostname":
-                load_data_for_current_species.instance_url = "http://{0}:8888/sp/{1}_{2}/galaxy/".format(
-                    value, load_data_for_current_species.genus_lowercase, load_data_for_current_species.species)
-                break
-            else:
-                load_data_for_current_species.instance_url = "http://localhost:8888/sp/{0}_{1}/galaxy/".format(
-                    load_data_for_current_species.genus_lowercase,
-                    load_data_for_current_species.species)
+        load_data_for_current_species.instance_url = "http://localhost:8888/sp/{0}_{1}/galaxy/".format(
+            load_data_for_current_species.genus_lowercase,
+            load_data_for_current_species.species)
         
         # Change serexec permissions in repo
         try: