Script for Handling subscription requests