Modified to Kohana syntax. Updated and added config items
File updated to work with Kohana