Updated bash script to handle creation of temporary file for fsw installation variables