Replaced import_request_variables() function with extract() due to incompatibility with PHP 5.4