Modified run script for direct execution
Indent, import, line-break minor fixes