added useVersionBuild parameter and static file handler