Your script syntax is incorrect. Here is an example of a correct script.

Code:
(script static unit player0
(unit (list_get (players) 0))
)
Remove the parenthesis that is at the end of the script name in all of your scripts, and place it at the end of the script.