Perform check on the number of arguments
Add variable for the metrics api host