small bug fixes to fed node setup script