Pushed from deployment server: adding full bank query function