replaced deprecated backquotes with $()