setting code to bash