Fixed code for giving half credit with header
Moved manual case to the bottom for easier visibility in the UI