Replace method for getting project name with one line of code