refactored loadPlannerPlugin so the modularity is applicable to multiple locations