scripts from class