added check for Motion::Project::Config to be defined