added installation directory, commented out some defaults in lib/custom.php