Added command for removing trailing spaces