Only install Slack notification scripts if Slack variables are defined