Tidying up scripts.