init a script to prepare data for mobile