protocol helper problems

I’m trying to use open up and pass information to my AppleScript app from a web page using whatever but I cannot get it to work correctly. It will open my application but it does not fire the “on open location x”. I know I’m doing it as described in other posts because I tried doing it w/ Script Editor and got it to work like a charm. However I am using AppleScript Studio and doing the exact same thing will only open and/or activate my application. Any suggestions?
Thanks!