fixing templates and adding sources to weight app