Specify database host and port
Fix create_box bug