Revamp

Beginning of gallery script.