Changed yaml structure for script phases (fix #120)