minor changes to second stage model
fixed ignore file