Using variables for notifications and scripts