Define scripts