define structre and default scripts