recording bash script