another attempt at scripts