Fix for stupid issue when running the setup script from the command line.