Changes to connect

Sets up the connect server to work if the distribution folder name changes