bash script on server side