forgot to export variable in bash script