remove duplicate params, add comma after args and remove capital letters from app id