Localhost url correction + general debugging