change ports and variable settings
merged