set up new variables and connected to local host