replace ereg(), eregi() due to deprecation
add home page link