Added if for bash