updated and fixes:

- reformated the script to be PEP 8 complient
- updated the script to add the correct parent and core versions
- implemented a function to automatically find the latest released version of the parent and the archetype