added compile, detect and release script