Streamlined maline.sh invocation
Fixed and improved log parsing