Updated with parent script