updated snippets: header is now working again and code snippets have the correct scope flag