Repairs and Maintenance for Sale of Rental Property

Made repairs and maintenance in order to help sell the rental property. The property sold a couple months after - can I incorporate these as "selling expenses" ? The property was rented earlier in the year, but these expenses were made after to help facilitate the sale.