Added original locallib.php file