takes bg to full path