Fixing a bug where requires was not including the root app