Fixed the published field name
Handling the basic scaffold logic