Add scripts in correct order on index