Put environmental variables to make shell scripts work right
Fix default script_auto_interval