Fix error managing autorestart in defines
Merge branch 'fix_autorestart'
Release v1.0.1