set minfied script dir and bracket formatting