tidy scripts; add stop script