Updating loading message and adding more log printing