Make src/dist dynamic