cleaned up scripts and added an lstd object to models