Some utils written by Script