Add constant w models
Fix typos
Check whether chain files exist