Fixing issues with static config (database and ip address)