Created initial loops - Also added theme activation/deactivation functionality