added missing libs directory. Changed to using Handle rather than flat id