Modified to build Rootbox