addded support for pre, drop, post sql