Added a useful script, fixed #47