Use sync script to handle loading screen