modified script injection to be the way it should be