added bash/conditionals