deploy script outputs error if root folder is not found