Standardize the code in the entry point files