Commit msg: changes hostname to var at top for easy changes.
Commit msg: updated connection to easily change connection params at top.