Contact and length dependent effects in single-molecule electronics