greatly simplified run script