linting
add restore script
push things to /tmp
fix output