WPRanger Common Functions