checking for images at application start