reduce and refactor apps
fix run order and base names