Remove log
Add S_ to vars