add settings to vagrantfile template and adjust logic for updating state to more accurately reflect port and communicator settings