simply/refactor script