initializing data and adding init script