Use sed inplace feature; generate DBS prod/int/dev maps simultaneously for production/testbed environments
Simplify script and require DAS map file as input and optionally kws_data/db_dumps dir for KWS maps