somehow used a swith statement from php or something without realising, fixed it now so the script should run, but cant test it yet because i cant set the calais key variable
merge error fix