Start merging three scripts to one with parameters