Consistent set of scripts. Still need some testing
First working version