Init the main script