changed more script sections to be generally better at looking at the right platform folder.