got export script working