port numbers set to variable names instead; renamed most other variables
fix git sync