add automatic scripts for build run and package