Use different hook for admin vs non-admin inline scripts