added the $use_prefix variable