fix request factory ignore script name