Fixed some python syntax, bash plugin still throws error.