Update restore.py
Fixes for insertion in PATH.

- More descriptive filename.

- Include shebang.

- Use configuration directory not currentdir to store app key.# Changes to be committed: