change directory for platform cfg