updated for bash function fix