fixed script error for non mb users