fix deprecated perl warnings in scriptassist by removing all occurences of "defined"