added run script, changed format to cdim