Added apply_to_foster.php