rearranged script to reflect logical flow of manuscript
rearranged script to reflect logical flow of manuscript