add variable detection for 'variables' import