"Wait for server to start"
moving hostname to variables
working