Updated linear example scripts