start of refactor of the  scriptaux