Fix execute skip

- Skip execution of sql script when already executed.
- Standardize log messages about skipping execution of sql script.