Corrected formatting.sh so now works correctly