Jon23
Mega Sage

@TEJAS   - how have you validated the script works fine? 
Using basic troubleshooting steps, I would start debugging lines of your script include to confirm it's following the path you think it is.