make localtest now working w/ custom flag