Try except at the beginning to avoid crash on pc without uper