fixed project loading (separate projectDir from model.lua)