replace hardcoded static path with ##STATIC##