replacing the cli cmds with variables and configuration in config.php