add script for code formatting
complete re-format of code