script for getting station metadata