Added params for platform and mode