propper script def in tag