Cleaning up unneeded bits in platform script