Beautifying script