Remove the old barn agent in bash