Add non-default constructor and updateGeometry on script and dir changes