Added glob and app-side image saving