adding switch for external projects