some scripts for data production