Adapted sc rom building scripts