Installing scripting additions within an Applescript app

I’ve build an applescript app from a script which includes some math functions from the “Satimage.osax” scripting addition. Within the app I have a check if the “Satimage.osax” is installed or not.
If not I use the “move” function to install/place the “Satimage.osax” extension in the “ScriptingAddition” folder. But when the extension is placed and the script moves on to the math functions it gives an error.
When I run the app for the 2nd time the math functions work fine.

Does anybody have some ideas to work around this problem???