Added comments. Removed stray log statement. Built array of apps to be required instead of requiring individually.