added shell scipt and misc changes