adjust to cope with different machines - SHOULD USE .vars