Text this: Flat output and switchable fiber laser using AWG and broadband FBG