Remove old bin directory
Fix variable names
Update to auto-generate settings.properties