build compatible scripts