Working trenort cleanup when run form the command line with ./