better scripts structure