Function to enable dependencies