Automate setup in platform.rc