setting box-template and server localhost