ready functions for publishPane