Script error appears.Run it through cmd and you can see crash message
do the following:
open cmd and type:
cd serverlocation
tfs.exe
paste error
Usually removing lines will not solve an issue, you could try disabling the script entirely (remove it from actions.xml) so it won't load it at startup.
EDIT:
Post your whole actions.xml