Add function for replacing rockets with new hash syntax