Set local variables