Read platform id from command line instead of config file