use /home/spk instead of /home/user/ and minor changes