"Corrected" hardcoded paths and added IP address config option