now using waterlock.js config file and fixed templates