Fixed paths and local ip check for live server