Better formatting. Crash on blank execute fixed. Added populate function.