Split the cmd line parsing in the config hooks in seperated functions