Create weight.php