script handler: refresh docs update
script handler: some cosmetic changes
script handler: fixes #3