Added check for lsf script failure to decorator
bugfix : non iterables are now allowed as parameters. Strings are not interated over