added scope to post template