updates env local ports, add config file