Invoke parent script before registering the child
Add TODO comments and update code formatting