In the scripts folder, create a folder for your script file.
Inside the newly-created folder, you must have your script, along with 'Includes.txt'.
Includes.txt should just have a list of the script files.
E.g. in Includes.txt:
MyScript.pas
Then load dedicated and hopefully it should appear.