rename scripts according to file convention