Sort imports
Fix #5: Check system status code