Made it easier to install - included globals in example index.php