fix and scripts