Uses getplatform now
Cd in the right dir first