updated manual_start_services to check for port listening, stop processes now kills the process using pid and removes the tmp_bashrc