changed serve command to accept the name parameter