changed <? php tags to <?php for compatibility