Modified how actions get path and config.