Adding initscript and creating folders.