flesh out services command, fix syntax error