moved migration in time
fixed attributes
added debug profiling
added active page selector script (TODO)