Added progress bar for loading