I didn't vote to close this question, but I came pretty close. I thought about it for a while.
I'll take a wild guess at why some people voted to close it:
The business context you mentioned in your question here is utterly missing from your question on the main site. Thus, it might have looked like an academic exercise. Such academic questions often get closed as off-topic or migrated to Unix & LinuxUnix & Linux, one of the sites where enthusiast questions often get better answers.
If I were you, I would be sure to add the overall context to the question, so that it's easier to see that it's a professional question. This not only discourages people from marking your question as off-topic, but also lets people come up with alternate approaches which may help with your overall issue.