Added the correct id's for launch applications in KS and fixed a bug from margining