edit out endif for local purposes