Add new function check_port to bash_profile