changed dicts and allowed scripts to be run from command line