Update admin file to not hard code paths