Added reindexall action and modified php and python code to use shared config.json file