Fixes to portolio templates