Added LSF support