patch and script are now working, first alpha version is done