fixed extended class path
implemented permission check before starting the installation process