Function for data import and static viewer completed