change to load params instead of postgresql