added Code script for user-mapping only.