set init status at the end of the init script
add script homedir to path and export variables at end of script
add analyse.sh file