Call script and wait fix script newlines