changed to use a sourced file