Only load apache when needed