One warning, make sure your included/required file starts with a check to see if it was called the right way, from within wb to prevent direct access.
// Stop this file being access directly
if(!defined('WB_URL')) {
header('Location: ../index.php');
exit(0);
}
have fun,
John