Convert variable names for pre- and post- scripts to connection pre- and post- scripts