Corrected multiple before scripts