Changed build definition to work for projects with multiple folders - i.e scripts not in root.