# PHP ## Structure The script must start with ` $param1, "count" => $param2]; } ``` ## Resource Types On Windmill, credentials and configuration are stored in resources and passed as parameters to main. You need to **redefine** the type of the resources that are needed before the main function. Always check if the class already exists using `class_exists`: ```php