remove use of get_setting.sh
tunneling app and management command
place the lock file to the os's temp directory