I just figured out how to make it work, all I did was removing the script file from the map properties, build the project, close WED, then open WED re-added the script file (with the .c extension). Now it shows up in the list. thanks a lot guys for all your quick help and support.